<?
$model=ORM::factory('content', $this->id2);

echo '<div class="work_elm">';
echo '<div class="title">'.$model->title.'</div>';

echo '<div class="clear"></div>';
echo '<div class="work_media">';
$medianavi=new View('contentmodule/mediacont_list');
$medianavi->content=$model;
$medianavi->maxw=500;
$medianavi->maxh=170;
echo $medianavi;
echo '</div>';

echo '<div class="work_text">';
echo '<p>'.text::auto_link(nl2br($model->text), array('target'=>'_blank')).'</p>';
echo '</div>';

echo '</div>';

?>
